<?php
/**
*	textarea
*/
namespace Rainrock\Framework\kernel\Html;



class HtmlTextarea extends HtmlInput{
	
	public static function gets()
	{
		$obj = new HtmlTextarea();
		$obj->setHeight(70);
		return $obj;
	}

	
	protected $label = 'textarea',$close = true,$css='textarea';
	
	
	protected function showBefore()
	{
		if($this->value || is_numeric($this->value))$this->addCont($this->value);
		$this->value = '';
		parent::showBefore();
	}
}